Skip to content

[codex] Add LangGraph queue surface#167

Merged
blove merged 1 commit into
mainfrom
codex/langgraph-queue-surface
May 2, 2026
Merged

[codex] Add LangGraph queue surface#167
blove merged 1 commit into
mainfrom
codex/langgraph-queue-surface

Conversation

@blove
Copy link
Copy Markdown
Contributor

@blove blove commented May 2, 2026

Summary

Adds the first public LangGraph queue parity surface for server-side enqueue runs. The Angular agent() now exposes queue() with pending entries plus cancel and clear helpers, backed by transport methods for runs.create(... multitaskStrategy: 'enqueue') and runs.cancel().

The stream bridge now tracks queued runs while an active stream is loading, joins queued runs FIFO after the active stream completes, and cancels pending server runs when users cancel, clear, stop, or switch threads so local queue state does not orphan server-side work.

Docs and generated agent API docs were updated to remove the old queue limitation and list the new queue mapping.

Validation

  • npx vitest run --config vite.config.mts src/lib/internals/stream-manager.bridge.spec.ts -t "cancels queued runs" --reporter=verbose
  • npx nx test langgraph
  • npx nx lint langgraph (passes with existing warnings)
  • npx nx build langgraph
  • npm run generate-api-docs
  • npx nx lint website
  • npx nx build website
  • git diff --check

@vercel
Copy link
Copy Markdown

vercel Bot commented May 2, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
cacheplane Ready Ready Preview, Comment May 2, 2026 1:54am

Request Review

@blove blove merged commit 495bae8 into main May 2, 2026
14 checks passed
@blove blove deleted the codex/langgraph-queue-surface branch May 7, 2026 16:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant